package cn.iocoder.yudao.module.qrcode.controller.admin.group.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 二维码分组 Response VO")
@Data
@ExcelIgnoreUnannotated
public class GroupRespVO {

    @Schema(description = "分组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28619")
    @ExcelProperty("分组ID")
    private Long id;

    @Schema(description = "分组名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("分组名称")
    private String name;

    @Schema(description = "分组类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("分组类型")
    private Integer type;

    @Schema(description = "分组状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("分组状态")
    private Integer status;

    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("显示顺序")
    private Integer sort;

    @Schema(description = "是否可见", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否可见")
    private Boolean visible;

    @Schema(description = "业务类型编码")
    @ExcelProperty("业务类型编码")
    private String bizCode;

    @Schema(description = "父分组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11798")
    @ExcelProperty("父分组ID")
    private Long parentId;

    @Schema(description = "分组图标")
    @ExcelProperty("分组图标")
    private String icon;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 子节点
     */
    private List<GroupRespVO> children;

}